<?php
class Merchant_Service_ProductAttached
{

    public static function getProductPicture($productId){
		$picture = Merchant_Model_ProductAttached::getInstance()->getByProductId($productId)->toArray();
        return $picture;
	}
	
	public static function getPicturesByPid($productId){
		$picture = Merchant_Model_ProductAttached::getInstance()->getPicturesByPid($productId)->toArray();
		return $picture;	
	}
	
	public static  function getLinksByProductId($productId){
		$picture = Merchant_Model_ProductAttached::getInstance()->getLinksByProductId($productId)->toArray();
		return $picture;
	}

    public static function add($row){
		return  Merchant_Model_ProductAttached::getInstance()->add($row);
	}

}